package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 主播所属运营业务对象 dy_anchor_rel
 *
 * @author ruoyi
 * @date 2024-06-20
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DyAnchorRelBo extends BaseEntity {

    /**
     * id
     */
    @NotNull(message = "id不能为空", groups = { EditGroup.class })
    private Long id;

    /**
     * 主播id
     */
    @NotNull(message = "主播id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long anchorId;

    /**
     * 运营id
     */
    @NotNull(message = "运营id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long relId;

    /**
     * 分成点
     */
    @NotNull(message = "分成点不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long relPoint;


}
